import $script from 'scriptjs';
import 'lodash';
import 'bluebird';

$script([
	'//libs.baidu.com/jquery/1.11.1/jquery.min.js',
	'//cdn.bootcss.com/lodash.js/3.10.1/lodash.min.js',
], 'jqueryFile');

$script.ready('jqueryFile', function () {
	require('../../public/plugins/layer/layer');
	require('../../public/plugins/layer/skin/default/layer.css');
	var avalon = require("avalon2");
	avalon.config({debug: false});
	var main = avalon.define({
		$id: "main",
		userData: {}
	});

});


